﻿<template>
    <div>
        <h2>这里是About组件,你跳转到了About组件</h2>
    </div>
</template>

<script>
    export default {
        name:'About',
        components:{},
        /* mounted(){
            console.log('About组件挂载完毕了')
        },
        beforeDestroy(){//销毁前都会调用这个生命周期钩子
            console.log('About组件即将被销毁了')
        } */
        mounted(){
            console.log('About组件挂载完毕了',this)
        }
    }
</script>

<style scoped>

</style>